package com.ldp.designpatterns.review.create.prototype;

/**
 * @ClassName PrototypeTest
 * @Description TODO
 * @Author lindipei
 * @Date 2023/10/20 15:04
 */
public class PrototypeTest {

    public static void main(String[] args) {
     /*   Student obj1 = new Student();
        Student copyStudent = null;
        try {
            copyStudent = (Student) obj1.clone();
        } catch (CloneNotSupportedException e) {
            throw new RuntimeException(e);
        }
        System.out.println("obj1==obj2?"+(obj1==copyStudent));*/
    }
}
